<script type="text/template" id="index_template">
{{each list}}
<div class="scott-cook">
    <div class="cook">
        <div class="cook-head">{{$value.atten_id}}</div>
        <div class="cook-name">{{$value.atten_name}}</div>
        <div class="cook-self">{{$value.atten_data}}</div>
    </div>
    <div class="cook-ted">
        <div class="cook-ted-left">{{$value.atten_tit}}</div>
        <div class="cook-ted-right">{{$value.atten_nickname}}</div>
    </div>
    <div class="cook-end">
        <div>
            <i class="iconfont icon-zan"></i>
            <span>1</span>
        </div>
        <div>
            <a href="javascript:;" class="cook-i"><i class="iconfont icon-xinxi"></i></a>
            <span>1</span>
        </div>
        <div>
            <i class="iconfont icon-fenxiangtubiao"></i>
        </div>

    </div>
    <div class="cook-last" style="display:none">
        <div class="cook-center">
            <div class="cook-last-left">
            </div>
            <textarea class="tet" placeholder="输入评论"></textarea>
            <div class="cook-lgo">
                <i class="iconfont icon-biaoqing"></i>
                <a href="javascript:;">表情</a>
                <button>发布</button>
            </div>
        </div>
    </div>
</div>
{{/each}}

</script>
<script type="text/template" id="index_template2">
    {{each list}}
    <div class="scott-cook">
        <div class="cook">
            <div class="cook-head">{{$value.atten_id}}</div>
            <div class="cook-name">{{$value.name}}</div>
            <div class="cook-self">{{$value.tit}}</div>
        </div>
        <div class="cook-ted">
            <div class="cook-ted-left"></div>
            <div class="cook-ted-right">{{$value.homepage}}</div>
        </div>
        <div class="cook-end">
            <div>
                <i class="iconfont icon-zan"></i>
                <span>1</span>
            </div>
            <div>
                <a href="javascript:;" class="cook-i"><i class="iconfont icon-xinxi"></i></a>
                <span>1</span>
            </div>
            <div>
                <i class="iconfont icon-fenxiangtubiao"></i>
            </div>
    
        </div>
        <div class="cook-last" style="display:none">
            <div class="cook-center">
                <div class="cook-last-left">
                </div>
                <textarea class="tet" placeholder="输入评论"></textarea>
                <div class="cook-lgo">
                    <i class="iconfont icon-biaoqing"></i>
                    <a href="javascript:;">表情</a>
                    <button>发布</button>
                </div>
            </div>
        </div>
    </div>
    {{/each}}
    
    </script>